You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > Matrix Structure > Matrix Methods > AddScaled Method > Matrix.AddScaled Method ([In] TMtxVec, TCplx, int, int, int)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
Matrix.AddScaled Method ([In] TMtxVec, TCplx, int, int, int)

Adds Vec elements [VecIndex]..[VecIndex+Len-1] to calling object elements [Index]..[Index+Len-1].

Syntax
C#
Visual Basic
public TMtxVec AddScaled([In] TMtxVec Vec, TCplx aScale, int VecIndex, int Index, int Len);

In addition, the following formula is begin used: 

 

result = result+ aScale*Vec .

 

An exception is raised if ConditionCheck is true and array borders are overrun.

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!